package com.qingrongby.shop.core.enumeration;

import lombok.Getter;

@Getter
public enum LoginType {
    USER_WX(0, "微信登录"),
    USER_EMAIL(1, "邮箱登录");
    private Integer code;
    private String desc;

    LoginType(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
